home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 131 / XENIATGM131.iso / Shareware / openOffice.org 641 / Windows / f_0047 / sbasic.jar / text / sbasic / common / 03101400.xml < prev    next >
Extensible Markup Language  |  2001-09-07  |  2KB  |  36 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>DefDbl Statement [Runtime]</title><meta name="filename" content="text/sbasic/common/03101400"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         p.P1{
  5.                 }
  6.         span.T1{
  7.                 font-weight:bold;}
  8.         </style></head><body>
  9.   
  10.   
  11.   <help:to-be-embedded Eid="defdbl" xmlns:help="http://openoffice.org/2000/help">
  12.   <p class="Head1"><help:link Id="66422">DefDbl Statement [Runtime]</help:link></p>
  13.   <p class="Paragraph">Sets the default variable type, according to a letter range, if no type-declaration character or keyword was specified.</p>
  14.   </help:to-be-embedded>
  15.   <p class="Paragraph"><span class="T1">Syntax</span>:</p>
  16.   <p class="Paragraph">Defxxx Characterrange1[, Characterrange2[,...]] <help:key-word value="DefDbl" tag="kw66422_1" xmlns:help="http://openoffice.org/2000/help"/></p>
  17.   <p class="Paragraph"><span class="T1">Parameter</span>:</p>
  18.   <p class="Paragraph">Characterrange : Letters specifying the range of variables for which to set a default data type.</p>
  19.   <p class="Paragraph">xxx : Keyword defining the default variable type:</p>
  20.   <p class="Paragraph"><span class="T1">Keyword : Default variable type</span></p>
  21.   <p class="Paragraph">DefDbl : Double</p>
  22.   <p class="Paragraph"><span class="T1">Example:</span></p>
  23.   <p class="PropText"/>
  24.   <p class="PropText">REM Prefix definitions for variable types:</p>
  25.   <p class="PropText">DefBool b</p>
  26.   <p class="PropText">DefDate t</p>
  27.   <p class="PropText">DefDbL d</p>
  28.   <p class="PropText">DefInt i</p>
  29.   <p class="PropText">DefLng l</p>
  30.   <p class="PropText">DefObj o</p>
  31.   <p class="PropText">DefVar v</p>
  32.   <p class="PropText"/>
  33.   <p class="PropText">Sub ExampleDefDBL</p>
  34.   <p class="PropText">dValue=1.23e43 REM dValue is an implicit Double variable type</p>
  35.   <p class="PropText">end sub</p>
  36.  </body></html>